<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="static/lib/font-awesome-4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="static/lib/layui/css/layui.css">
</head>
<body>
<div id="test">
打开了bb
</div>
<script src="static/lib/layui/layui.all.js"></script>
<script src="static/js/func.js"></script>
<script src="static/js/app.js"></script>
<script type="module">
    layui.use(['jquery'], function(){
        $ = layui.jquery;
    });
    app.init(function (data) {
        console.log(data)
    },function () {
        app.goFunc("Message","测试调用go方法")
    });
</script>
</body>
</html>